<template>
  <div>
    <lz-upload
      v-model="uploadList"
      :max-num="5"
      :size="5"
      @change="uploadChange"
      accept=".jpg,.png,.xlsx,.doc,.docx"
      :disabled="false"
      imgBasePath="https://echftp.yqzhfw.com/"
      action="https://jmy.yqzhfw.com/train/api/base-server/base/common/upload/image"
      :replaceFields="{
        name: 'name',
        path: 'path',
        original: 'original',
        size: 'size',
        suffix: 'suffix',
      }"
      :showDownload='true'
    />

<div style="height:50px;">割开</div>

     <lz-upload
      v-model="uploadList1"
      :max-num="5"
      :size="5"
      @change="uploadChange"
      accept=".jpg,.png,.xlsx"
      :disabled="false"
      imgBasePath="https://echftp.yqzhfw.com/"
      action="https://jmy.yqzhfw.com/train/api/base-server/base/common/upload/image"
      :replaceFields="{
        name: 'name',
        path: 'path',
        original: 'original',
        size: 'size',
        suffix: 'suffix',
      }"
    />
    <!-- :step="{ size: 2048 }" -->
  </div>
</template>
<script>
export default {
  data() {
    return {
      uploadList: [
        // {
        //   name: "音频服务.png",
        //   path: "/basis/2020/7/10/13acde2b08e84fc7bae4e9c0195facfc.png",
        // },
      ],
      uploadList1:[]
    };
  },
  methods: {
    uploadChange() {
      console.log(this.uploadList);
      console.log(this.uploadList1);

    },
  },
};
</script>
